class PlayerLevelClass {
    PlayerLevelClass({
        this.intermediate,
        this.id,
        this.name,
        this.displayName,
        this.shortName,
        this.order,
        this.levelCode,
        this.hidden,
        this.color,
    });

    bool? intermediate;
    String? id;
    String? name;
    String? displayName;
    String? shortName;
    int? order;
    String? levelCode;
    bool? hidden;
    String? color;

    factory PlayerLevelClass.fromJson(Map<String, dynamic> json) => PlayerLevelClass(
        intermediate: json["intermediate"],
        id: json["id"],
        name: json["name"],
        displayName: json["displayName"],
        shortName: json["shortName"],
        order: json["order"],
        levelCode: json["levelCode"],
        hidden: json["hidden"],
        color: json["color"],
    );

    Map<String, dynamic> toJson() => {
        "intermediate": intermediate,
        "id": id,
        "name": name,
        "displayName": displayName,
        "shortName": shortName,
        "order": order,
        "levelCode": levelCode,
        "hidden": hidden,
        "color": color,
    };
}
